package top.ztf.erp.dao;

import org.apache.ibatis.annotations.Param;

public interface RolePermissionRelationDao {

    int getRelationByPermissionId(String permissionId);

    int deleteRelationByRole(String roleId);

    int insertRelation(@Param("arrays") String[] arrays, @Param("roleId") String roleId);

    void deleteRelation(@Param("arrays") String[] arrays);
}
